.class Lrexsee/core/browser/RexseePrompt$22;
.super Ljava/lang/Object;
.source "RexseePrompt.java"

# interfaces
.implements Landroid/view/View$OnCreateContextMenuListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/core/browser/RexseePrompt;->showCountryOrCity(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/core/browser/RexseePrompt;

.field private final synthetic val$argumentsSheet:Lrexsee/core/browser/clazz/PromptArgumentsSheet;

.field private final synthetic val$array:[[Ljava/lang/String;

.field private final synthetic val$cityText:Landroid/widget/TextView;

.field private final synthetic val$provinceText:Landroid/widget/TextView;


# direct methods
.method constructor <init>(Lrexsee/core/browser/RexseePrompt;[[Ljava/lang/String;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Landroid/widget/TextView;Landroid/widget/TextView;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/core/browser/RexseePrompt$22;->this$0:Lrexsee/core/browser/RexseePrompt;

    iput-object p2, p0, Lrexsee/core/browser/RexseePrompt$22;->val$array:[[Ljava/lang/String;

    iput-object p3, p0, Lrexsee/core/browser/RexseePrompt$22;->val$argumentsSheet:Lrexsee/core/browser/clazz/PromptArgumentsSheet;

    iput-object p4, p0, Lrexsee/core/browser/RexseePrompt$22;->val$provinceText:Landroid/widget/TextView;

    iput-object p5, p0, Lrexsee/core/browser/RexseePrompt$22;->val$cityText:Landroid/widget/TextView;

    .line 364
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCreateContextMenu(Landroid/view/ContextMenu;Landroid/view/View;Landroid/view/ContextMenu$ContextMenuInfo;)V
    .locals 6
    .param p1, "menu"    # Landroid/view/ContextMenu;
    .param p2, "v"    # Landroid/view/View;
    .param p3, "menuInfo"    # Landroid/view/ContextMenu$ContextMenuInfo;

    .prologue
    .line 367
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_0
    iget-object v3, p0, Lrexsee/core/browser/RexseePrompt$22;->val$array:[[Ljava/lang/String;

    array-length v3, v3

    if-lt v1, v3, :cond_0

    .line 379
    iget-object v3, p0, Lrexsee/core/browser/RexseePrompt$22;->val$argumentsSheet:Lrexsee/core/browser/clazz/PromptArgumentsSheet;

    iget-object v3, v3, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->title:Ljava/lang/String;

    invoke-interface {p1, v3}, Landroid/view/ContextMenu;->setHeaderTitle(Ljava/lang/CharSequence;)Landroid/view/ContextMenu;

    .line 380
    return-void

    .line 368
    :cond_0
    iget-object v3, p0, Lrexsee/core/browser/RexseePrompt$22;->val$array:[[Ljava/lang/String;

    aget-object v3, v3, v1

    const/4 v4, 0x0

    aget-object v3, v3, v4

    invoke-interface {p1, v3}, Landroid/view/ContextMenu;->add(Ljava/lang/CharSequence;)Landroid/view/MenuItem;

    move-result-object v2

    .line 369
    .local v2, "item":Landroid/view/MenuItem;
    iget-object v3, p0, Lrexsee/core/browser/RexseePrompt$22;->val$array:[[Ljava/lang/String;

    aget-object v3, v3, v1

    const/4 v4, 0x1

    aget-object v0, v3, v4

    .line 370
    .local v0, "firstCity":Ljava/lang/String;
    new-instance v3, Lrexsee/core/browser/RexseePrompt$22$1;

    iget-object v4, p0, Lrexsee/core/browser/RexseePrompt$22;->val$provinceText:Landroid/widget/TextView;

    iget-object v5, p0, Lrexsee/core/browser/RexseePrompt$22;->val$cityText:Landroid/widget/TextView;

    invoke-direct {v3, p0, v4, v5, v0}, Lrexsee/core/browser/RexseePrompt$22$1;-><init>(Lrexsee/core/browser/RexseePrompt$22;Landroid/widget/TextView;Landroid/widget/TextView;Ljava/lang/String;)V

    invoke-interface {v2, v3}, Landroid/view/MenuItem;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Landroid/view/MenuItem;

    .line 367
    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method
